package cn.larry.spring;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class AnotherObj {
	@Value("${jdbc.user}")
	private String name;
	@Value("${jdbc.pwd}")
	private String pwd;
	@Value("${media}")
	private String media;
	private String noKey;
	
	public String getNoKey() {
		return noKey;
	}

	public void setNoKey(String noKey) {
		this.noKey = noKey;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}
	

}
